import java.util.Scanner;

public class java14 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int weignt1=sc.nextInt();
        int weight2=sc.nextInt();
        String ans=(weignt1==weight2) ? "相同":"不同";
        System.out.println(ans);
    }
}
